import { Editor } from "./editor"
import { withHistory } from "./plugins"

const container = document.getElementById("editor")

if(container){
  withHistory(new Editor(container))
}else{
  console.error("cant find element")
}
